package org.forwhat.dao;

import org.apache.ibatis.annotations.Mapper;
import org.forwhat.bean.WhatComment;
import org.forwhat.bean.WhatCommentDTO;
import org.forwhat.framework.annotation.Data;

import java.util.List;

//@Data("WhatCommentDao")

@Mapper
public interface WhatCommentDao {
    List<WhatCommentDTO> selectCommentByParent(String parent);
    String selectUserIdByCommentId(String commentId);
    int insertComment(WhatComment whatComment);
    String getLatestComment();
}
